-- GENERATED SPELL FOR [Great Shark] --


function spell0_12124(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_12124', 583, 1)
end

function Sorts_12124(pUnit, Event)
local choix_sorts_12124 = math.random(0, 0)
if choix_sorts_12124 == 0 then
pUnit:RegisterEvent('spell0_12124', 1, 1)
end
end

function mob12124_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_12124', math.random(1500, 3000), 1)
end

function mob12124_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12124_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob12124_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(12124, 1, 'mob12124_Action')
RegisterUnitEvent(12124, 2, 'mob12124_Leave')
RegisterUnitEvent(12124, 3, 'mob12124_Kill')
RegisterUnitEvent(12124, 4, 'mob12124_Die')
